package com.yinhai.asynctask;

import java.util.Map;

import org.json.JSONException;
import org.json.JSONObject;

import android.content.Context;

public class GetResult extends AsyncTaskForHttp{
	String retStr = null;
	public GetResult(Context context) {
		super(context);
	}
	
	public GetResult(Context context, boolean autoForword) {
		super(context, autoForword);
	}

	public GetResult(Context context, int timeoutRequestCount,
			boolean autoForword) {
		super(context, timeoutRequestCount, autoForword);
	}
	@Override
	protected void parse(Map<String, Object> result) {
		this.retStr = (String)result.get(AsyncTaskContext.RESPONSE_CONTENT);
		try {
			JSONObject jsonObject = new JSONObject(retStr);
		} catch (JSONException e) {
			e.printStackTrace();
		}
		
	}
	

}
